package com.ren.user.service;

import com.ren.feign.entity.ReclUserVo;
import com.ren.user.entity.ReclUser;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author RZY
 * @since 2022-07-13
 */
public interface ReclUserService extends IService<ReclUser> {

    List<ReclUserVo> getRemoteFmUsersInfo(List<Long> userIds);

    ReclUserVo getRemoteFmUserInfoById(Long userId);

    List<ReclUserVo> getRemoteArticleUsersInfo(List<Long> userIds);

    ReclUserVo getRemoteArticleUserInfoById(Long userId);

    String doLogin(ReclUser reclUser);

    boolean doRegister(ReclUser reclUser);

    ReclUser getReclUserByJWT(HttpServletRequest request);
}
